home *** CD-ROM | disk | FTP | other *** search
- Path: netnews.hinet.net!news
- From: terry@ms1.hinet.net (Chen Tai-Wei)
- Newsgroups: comp.lang.c++
- Subject: Re: MSDOS commands via Visual C++
- Date: Thu, 04 Apr 1996 06:03:04 GMT
- Organization: KMC Psychology Department
- Message-ID: <316365bd.2178531@netnews.hinet.net>
- References: <4jvfc2$l21@jupiter.planet.net>
- NNTP-Posting-Host: 168.95.124.248
- X-Newsreader: Forte Agent .99d/32.182
-
- On Thu, 04 Apr 1996 03:25:18 GMT, ajs@planet.net (A.J. Saveriano)
- wrote:
-
- >I was wondering how you issue MSDOS commands via a C++ program?
- >I'd like to get a DIR of a directory on my drive and then manipulate
- >the files - such as renaming them, deleting them and moving them.
-
- I think you can use the routine function system() to do that.
-
- ---
- // Depression is an attribute of an object. Since protected by the
- // private keyword, it still can be accessed by some method which
- // is public or friend. It will be derived by the inheritance. And
- // you can't find any destructors forever.
- // Copyright (C++) 1971-96 by Chen Tai-Wei, terry@ms1.hinet.net
-